
<%@page import="comm.util.RequestManager"%>
<%@page import="comm.util.SoptHashMap"%><%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	SoptHashMap hm = RequestManager.getRequest(request);
	System.out.println("==========setSession에서 받은 리퀘스트~");
	System.out.println(hm.toString());
	
	if(hm.get("USERID")!=null &&
			hm.get("BLOGTYPE")!=null &&
			hm.get("USERPW")!=null &&
			hm.get("USERID")!=null &&
			hm.get("BLOGAPIID")!=null &&
			hm.get("BLOGAPIADDRESS")!=null){
	session.setAttribute("CURRENT_USER",hm.get("USERID"));
	session.setAttribute("BLOGTYPE",hm.get("BLOGTYPE"));
	session.setAttribute("USERPW",hm.get("USERPW"));
	session.setAttribute("USERID",hm.get("USERID"));
	session.setAttribute("BLOGID",hm.get("BLOGAPIID"));
	session.setAttribute("BLOGAPIADDRESS",hm.get("BLOGAPIADDRESS"));
	
	System.out.println("==========굽힌 세션~~");
	System.out.println(session.toString());%>
	SUCCESS
	<%}else{%>
	ERROR MISSING INFO	
<%}
%>